#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

task :default => [:test]
task :test do
  paths = %w|. app/models lib test/unit|
  separator = Rake::Win32.windows? ? ";" : ':'
  tests = [
    #"test/unit/plastic_adapter_test.rb",
    "test/unit/repository_plastic_test.rb"
  ]
  tests.each do |test|
    ruby "-I#{paths.join(separator)} #{test}"
  end
end
